#ifndef BUILDING_H
#define BUILDING_H

#include "floor.h"
#include "system.h"

class Building : public System{
	public:
		Building(std::vector<Floor>&/*, double*/);
		~Building();
		
		Floor getFloor(unsigned int) const;
		unsigned int sizeFloors() const;
		
		//from system
		void draw() const;
		void calculate(unsigned int);
		void calculeVibrationMode(double);
		void initialPosition();
	
	private:
		void populateK(Matrix&);
		void populateM(Matrix&);
		
		void drawGround() const;
		void drawFloor(unsigned int) const;
		
		std::vector<Floor> floors;
// 		double goundK;
};

#endif